<!DOCTYPE html>
<html lang="en">
  <head>
    <meta charset="UTF-8" />
    <title>Title</title>
  </head>
  <body>
    <style>
      div {
        position: absolute;
        position: relative;
        position: fixed;
      }
    </style>
    <script>
      var a = typeof function () {} === "function" && 5 > 4 ? 6 : 9;
      console.log(a); // 6
      console.log(typeof function () {} === "function"); // true
      console.log(typeof function () {} === "asdf"); // false
      console.log(true && 5 > 4 ? 6 : !9); // 6
      console.log((false && !false) || 5 < 4 ? 6 : 9); // 9

      var vm = {
        cid: 2345234,
        _isVue: true,
        $options: {
          _$options: "_$options",
        },
        options: {
          name: "vue",
        },
      };
      var options =
        typeof vm === "function" && vm.cid != null
          ? vm.options
          : vm._isVue
          ? vm.$options || vm.constructor.options
          : vm || {};
      console.dir(options);
    </script>
  </body>
</html>
